Don't override dh_auto_clean to nothing
authorSimon McVittie <smcv@debian.org>
Fri, 29 Jan 2016 10:28:05 +0000 (11:28 +0100)
committerSimon McVittie <smcv@debian.org>
Fri, 29 Jan 2016 10:42:05 +0000 (11:42 +0100)
debian/changelog
debian/rules

index 87be0383583c064a75d0f1dc01c6967de8dfe9f8..5fb207ee522dd9432fc2a113ec3760aab6e3548b 100644 (file)
@@ -17,6 +17,7 @@ ostree (2016.1-1) UNRELEASED; urgency=medium
   * Add an ostree-tests package, and use it for autopkgtest
   * Enable systemd helpers, but do not start the early-boot systemd services
     on installation
+  * Don't override dh_auto_clean to nothing
 
  -- Simon McVittie <smcv@debian.org>  Wed, 27 Jan 2016 13:04:34 +0100
 
index 818005fdf317fdb92d63e82ae12ad1813f6b27fd..1db06d847e0c361d57a893c731a0581eaa9910be 100755 (executable)
@@ -7,6 +7,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
        dh $@ --parallel --with=autoreconf,gir,systemd
 
 override_dh_auto_clean:
+       if [ -e Makefile ]; then dh_auto_clean; fi
 
 override_dh_autoreconf:
        env NOCONFIGURE=1 dh_autoreconf ./autogen.sh